package com.ssr.master.modules.entity;


import com.ssr.master.common.Base.BaseEntity;
import com.ssr.master.common.Base.PageBean;

/**
 * 系统人员
 *
 * @author ZhangPeng
 * @Describe //todo
 * @date
 * @updateBy
 * @other
 **/
public class SysUser extends BaseEntity {
    private String personId; //person_info表id
    private String loginName; //登录名
    private String password; //登录密码
    private String userType; //用户类型0:系统管理员1机构管理员2普通用户
    private String loginFlag; //是否可以登录
    private String loginOrg; //登录机构
    private String loginDept; //登录科室

    //扩展
    private String name; //用户姓名
    private String idNo; //身份证号
    private String phone; //电话
    private String eMail; //邮箱
    private PageBean pageBean;

    public SysUser() {

    }


    public SysUser(String loginName) {
        this.loginName = loginName;
    }

    public SysUser (String id,String loginFlag) {
        this.id = id;
        this.loginFlag = loginFlag;
    }

    public SysUser(SysUser personInfo) {
        super();
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getLoginFlag() {
        return loginFlag;
    }

    public void setLoginFlag(String loginFlag) {
        this.loginFlag = loginFlag;
    }

    public String getLoginOrg() {
        return loginOrg;
    }

    public void setLoginOrg(String loginOrg) {
        this.loginOrg = loginOrg;
    }

    public String getLoginDept() {
        return loginDept;
    }

    public void setLoginDept(String loginDept) {
        this.loginDept = loginDept;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail;
    }

    public PageBean getPageBean() {
        return pageBean;
    }

    public void setPageBean(PageBean pageBean) {
        this.pageBean = pageBean;
    }
}
